Sunan at-Tirmithiy كتاب الطهارة باب الوضوء من مس الذكر
The Prophet, peace and blessings of God be upon him, said, "Whoever touches his private parts (i.e. directly, without a barrier of cloth) must not pray until he performs ablution". Click on ḥadīth to read more